package com.xiaoshuidi.cloud.module.member.api.coupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

@Data
public class CouponLockVo {

    @NotNull
    @Schema(description = "客户优惠券id")
    private Set<Long> ids;

    @NotNull
    @Schema(description = "锁定的时长")
    private int lockedDuration;

    @NotNull
    @Schema(description = "锁定的时间")
    private Date lockedTime;

    @NotNull
    @Schema(description = "租客id")
    private Long tenantUserId;

    @NotNull
    @Schema(description = "当前门店id")
    private Long storeId;

    @NotNull
    @Schema(description = "合同id")
    private Long contractId;

    @NotNull
    @Schema(description = "账单id")
    private Long billId;

    @NotNull
    @Schema(description = "账单编号")
    private String billNo;

    @NotNull
    @Schema(description = "账单总金额")
    private BigDecimal totalAmount;
}
